<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of NaviMenuWidget
 *
 * @author code
 */
namespace Home\Widget;
use Think\Controller;

class NaviMenuWidget extends Controller {
    public function show(){
        $category = D("Category");
        $data = $category->select();
        $this->assign("data", $data);
        $this->display("NaviMenu:show");
    }
}
